import {Component} from '@angular/core';
import {ActivatedRoute} from '@angular/router';
import {NzMessageService} from 'ng-zorro-antd/message';

@Component({
  selector: 'passport-register-result',
  templateUrl: './register-result.component.html',
})
export class UserRegisterResultComponent {
  params = {email: ''};
  email = '';

  constructor(route: ActivatedRoute, public msg: NzMessageService) {
    console.log(route.snapshot.queryParams.email);
    console.log(route.snapshot.queryParams['email']);
    this.params.email = this.email = route.snapshot.queryParams.email;
  }
}
